Filter hook 'manage_{$post_type}_posts_columns'

in WP Core File wp-admin/includes/class-wp-posts-list-table.php at line 756

Description

Filters the columns displayed in the Posts list table for a specific post type. The dynamic portion of the hook name, `$post_type`, refers to the post type slug. Possible hook names include: - `manage_post_posts_columns` - `manage_page_posts_columns`

Occurrences

Filename Line Number
wp-admin/includes/class-wp-posts-list-table.php 756

Parameters

Type Name Description
string[] $post_columns An associative array of column headings.

PHP Doc

/**
		 * Filters the columns displayed in the Posts list table for a specific post type.
		 *
		 * The dynamic portion of the hook name, `$post_type`, refers to the post type slug.
		 *
		 * Possible hook names include:
		 *
		 *  - `manage_post_posts_columns`
		 *  - `manage_page_posts_columns`
		 *
		 * @since 3.0.0
		 *
		 * @param string[] $post_columns An associative array of column headings.
		 */